home *** CD-ROM | disk | FTP | other *** search
/ Chip 1996 November / CHIP Kasım 1996.iso / ms / visualj / vjtrialb.exe / RCDATA / CABINET / MFCAPWZ.DLL / TEMPLATE / STDAFX.H < prev    next >
C/C++ Source or Header  |  1996-07-31  |  2KB  |  66 lines

  1. // stdafx.h : include file for standard system include files,
  2. //  or project specific include files that are used frequently, but
  3. //      are changed infrequently
  4. //
  5.  
  6. #define VC_EXTRALEAN        // Exclude rarely-used stuff from Windows headers
  7.  
  8. #include <afxwin.h>         // MFC core and standard components
  9. #include <afxext.h>         // MFC extensions
  10. $$IF(CTreeView || CListView)
  11. #include <afxcview.h>
  12. $$ENDIF //CTreeView || CListView
  13. $$IF(PROJTYPE_DLL)
  14.  
  15. #ifndef _AFX_NO_OLE_SUPPORT
  16. $$ENDIF //PROJTYPE_DLL
  17. $$IF(CONTAINER || MINI_SERVER || FULL_SERVER || CONTAINER_SERVER || PROJTYPE_DLL)
  18. #include <afxole.h>         // MFC OLE classes
  19. $$IF(CONTAINER || CONTAINER_SERVER || PROJTYPE_DLL)
  20. #include <afxodlgs.h>       // MFC OLE dialog classes
  21. $$ENDIF
  22. $$ENDIF
  23. $$IF(AUTOMATION || PROJTYPE_DLL || OLECTL)
  24. #include <afxdisp.h>        // MFC OLE automation classes
  25. $$ENDIF
  26. $$IF(ACTIVE_DOC_SERVER)
  27. #include <afxdocob.h>
  28. $$ENDIF
  29. $$IF(PROJTYPE_DLL)
  30. #endif // _AFX_NO_OLE_SUPPORT
  31.  
  32. $$ENDIF //PROJTYPE_DLL
  33. $$// Include database headers.  For a DLL or app which just includes database
  34. $$//  headers (no database view), conditionally include DAO and ODBC.
  35. $$//  If an actual view is used, always & only include the corresponding header.
  36. $$// First, actual view is used:
  37. $$IF(CRecordView)
  38. #include <afxdb.h>            // MFC ODBC database classes
  39. $$ELIF(CDaoRecordView)
  40. #include <afxdao.h>            // MFC DAO database classes
  41. $$ELIF(DB || PROJTYPE_DLL)
  42. $$// Here, minimal DB support is requested, or we're a DLL.  No view is chosen.
  43.  
  44. #ifndef _AFX_NO_DB_SUPPORT
  45. #include <afxdb.h>            // MFC ODBC database classes
  46. #endif // _AFX_NO_DB_SUPPORT
  47.  
  48. #ifndef _AFX_NO_DAO_SUPPORT
  49. #include <afxdao.h>            // MFC DAO database classes
  50. #endif // _AFX_NO_DAO_SUPPORT
  51.  
  52. $$ENDIF // database/DLL options
  53. #ifndef _AFX_NO_AFXCMN_SUPPORT
  54. #include <afxcmn.h>            // MFC support for Windows Common Controls
  55. #endif // _AFX_NO_AFXCMN_SUPPORT
  56.  
  57. $$IF(SOCKETS)
  58. #include <afxsock.h>        // MFC socket extensions
  59. $$ENDIF //SOCKETS
  60. $$IF(CRichEditView)
  61. #include <afxrich.h>        // MFC rich edit classes
  62. $$ENDIF //CRichEditView
  63.  
  64.  
  65.  
  66.